package org.example.util;

import com.mongodb.client.MongoClient;
import com.mongodb.client.MongoClients;

import java.sql.Connection;

public class DBUtil {
    static String DB_ADDRESS="localhost";
    static int DB_PORT=27017;

    public DBUtil(){}

    public static MongoClient getMongoClient(){
        return MongoClients.create("mongodb://"+DB_ADDRESS+":"+DB_PORT);
    }
}
